<?php
$CentreId = intval($_REQUEST['CentreId']);

include 'conn.php';

$sql = "delete from centre where CentreId=$CentreId";
$result = @mysql_query($sql);
if ($result){
    $sql1 = mysql_query("delete from tracking where CentreId=$CentreId");
	echo json_encode(array('success'=>true));
} else {
	echo json_encode(array('msg'=>'Some errors occured.'));
}
?>